<!--
  2025.05.19 nijs 集成luckysheet
  需保证打印功能正常，经资料查阅，官方版打印功能需付费。
  获取项目源码地址为：https://gitee.com/lbw9804/lucky_sheet

  http://192.168.0.213:8080/#/preview/luckySheet?id=1924350912651448322&token=ZmFubGQ%3D-a0e44a35-15e0-4f83-8d6f-77eb531fff08&download=true&printDebug=true&isAutoPrint=1

  http://192.168.1.158/preview/#/preview/luckySheet?id=1924350912651448322&token=ZmFubGQ%3D-a0e44a35-15e0-4f83-8d6f-77eb531fff08&download=true&printDebug=true&isAutoPrint=1

  https://ipms.apa7.com/preview/#/preview/luckySheet?id=1928042656456015873&token=anpqdA%3D%3D-d5a9f05a-c2ff-4992-9018-d64953b2aa87&download=true&printDebug=true&isAutoPrint=1
-->
<template>
<!--  <div id="luckysheet" style="margin:0px;padding:0px;position:absolute;width:100%;height:100%;left: 0px;top: 0px;"></div>-->
  <!-- 编辑功能未适配 -->
  <LuckySheet :allowEdit="false"/>
</template>

<script>

import LuckySheet from "@/components/luckySheet/LuckySheet";

export default {
  name: "PreviewLuckySheet",
  data() {
    return {
      content: '',
    }
  },
  components: {
    LuckySheet,
  },
  created() {
    // const token = Vue.ls.get(ACCESS_TOKEN)
    // const excelId = this.$route.query.id
    // const oldName = this.$route.query.name
    // const watermark = this.$route.query.watermark
    // window.open(`${Global.VUE_APP_BIZ_WEB_TABIZCORE_URL}/webOffice/WebEdit?id=${excelId}&type=read&token=${token}&name=${oldName}&watermark=${watermark}`, '_self')
  }
}
</script>

<style scoped>

</style>
